package com.example.check.realm.service;

import org.apache.shiro.authz.annotation.RequiresRoles;
import org.apache.shiro.web.util.WebUtils;

/**
 * Created by Tony Yao on 2017/7/25.
 */
public class ShiroService {

    @RequiresRoles(value = {"3","4"})
    public void onlyManager(){
        System.out.println("onlyManager");
    }
}
